PREVIEW: For your final project, you'll create a timed simulation! Today, we'll learn how to program an example about knights and dragons, and in the next lesson, you'll use what you learned to build your own.

  • Click Run to see it in action!
  • When you're ready, click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)